#pragma once

class GEOMDBAPI ItemTrait
{
public:
	CString szName;
	UINT	nID;
	HICON	hIcon;
	UINT	nEditorId;
	
};

class CAnyDocument;
class GEOMDBAPI IDocListener
{
public:
	IDocListener(void);
	virtual ~IDocListener(void);
	virtual void OnNewDocument(CAnyDocument* pADoc) = 0;
	virtual void OnCloseDocument(CAnyDocument* pADoc)=0;
	virtual void OnAddShape(CAnyDocument* pADoc, const ItemTrait& itemTrait) = 0;
	virtual void OnActiveDocument(CAnyDocument* pADoc, bool bActive) = 0;
};
